package cn.darkhorse.device.service;

import cn.darkhorse.device.pojo.MesCamera;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 摄像机设置 服务类
 * </p>
 *
 * @author maoguanjun
 * @since 2023-04-20
 */
public interface MesCameraService extends IService<MesCamera> {
    /**
     * 列表带分页
     * @param name
     * @param area
     * @param ip
     * @return
     */
    List<MesCamera> listAll(String name, String area, String ip);

    /**
     * 保存
     * @param mesCamera
     * @return
     */
    boolean saveEntity(MesCamera mesCamera);

    /**
     * 删除
     * @param cameraId
     * @return
     */
    boolean delete(Long cameraId);
}
